/* 基础样式与CSS变量 */
:root {
    --primary-color: #d32f2f;
    --primary-hover: #b71c1c;
    --secondary-color: #1a1a1a;
    --accent-color: #ff4040;
    --text-color: #ffffff;
    --text-secondary: #cccccc;
    --bg-dark: #0a0a0a;
    --bg-light: #222222;
    --border-color: #444444;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --error-color: #f44336;
    
    /* 动画变量 */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* 阴影变量 */
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-heavy: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* 全局样式重置和基础设置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body, #root {
  height: 100%;
  overflow-x: hidden;
}

.App {
  min-height: 100vh;
  background-color: var(--bg-dark);
  background-image: url('/images/background.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text-color);
  transition: all var(--transition-normal);
}

/* 基础滚动条样式 */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-hover);
}

/* 容器样式 */
.container-fluid {
  padding: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 立体容器样式 */
.container {
  background-color: rgba(10, 10, 10, 0.6);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-medium);
  position: relative;
  transition: all var(--transition-normal);
}

.container:hover {
  box-shadow: var(--shadow-heavy);
}

/* 主内容区域 */
.main-content {
  flex: 1;
  display: flex;
  padding: 20px;
  height: calc(100vh - 120px);
  overflow-y: auto;
  position: relative;
  background: rgba(10, 10, 10, 0.5);
  backdrop-filter: blur(5px);
}

/* 右侧内容区域输入框样式 - 增强透明磨砂效果 */
/* 增加更具体的选择器和优先级 */
input.form-control,
textarea.form-control,
select.form-control,
input.form-control:focus,
textarea.form-control:focus,
select.form-control:focus {
  background-color: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  backdrop-filter: blur(10px) !important;
  transition: all var(--transition-normal);
  box-shadow: none !important;
  outline: none !important;
}

/* 覆盖组件内联样式 */
.card-body .form-control {
  background-color: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px) !important;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
}

.form-control:focus {
  box-shadow: 0 0 0 2px rgba(211, 47, 47, 0.5), 0 0 10px rgba(211, 47, 47, 0.3) !important;
  border-color: var(--primary-color) !important;
  background-color: rgba(255, 255, 255, 0.15) !important;
}

/* 针对特定ID的输入框样式 */
input[id],
textarea[id] {
  background-color: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px) !important;
  color: #ffffff !important;
}

/* 确保所有标签和文本都是白色 */
.form-label,
.form-text,
.text-muted,
.card-body h3,
.card-body h4,
.card-body h5,
.card-body p,
.card-body label,
.card-body span,
.card-body small,
.form-check-label,
.form-control,
input::placeholder,
textarea::placeholder {
  color: #ffffff !important;
  opacity: 1 !important;
}

/* 特别确保参数说明文字显示清晰 */
.form-text.text-muted,
.card-body .text-muted,
.card-body small,
.Form.Text.text-muted {
  color: #ffffff !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  opacity: 1 !important;
  display: block !important;
  visibility: visible !important;
  line-height: 1.5 !important;
  margin-top: 0.5rem !important;
  z-index: 10 !important;
  position: relative !important;
}

/* 复选框和开关样式 */
.form-check-input {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all var(--transition-normal);
  box-shadow: none !important;
}

/* 重置取消勾选状态，确保与初始未勾选状态一致 */
.form-check-input:not(:checked) {
  background-color: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: none !important;
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(211, 47, 47, 0.5);
}

.form-check-input:focus {
  box-shadow: 0 0 0 2px rgba(211, 47, 47, 0.5), 0 0 10px rgba(211, 47, 47, 0.3) !important;
  border-color: var(--primary-color);
}

/* 统一开关样式 */
.form-switch .form-check-input {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23ffffff'/%3e%3c/svg%3e");
  transition: all var(--transition-normal);
  box-shadow: none !important;
}

/* 重置开关取消勾选状态 */
.form-switch .form-check-input:not(:checked) {
  background-color: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: none !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23ffffff'/%3e%3c/svg%3e") !important;
}

.form-switch .form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23ffffff'/%3e%3c/svg%3e");
  box-shadow: 0 0 10px rgba(211, 47, 47, 0.5);
}

.form-switch .form-check-input:focus {
  box-shadow: 0 0 0 2px rgba(211, 47, 47, 0.5), 0 0 10px rgba(211, 47, 47, 0.3) !important;
  border-color: var(--primary-color);
}

/* 发光效果增强 */
.form-switch-glow .form-check-input:checked {
  background-color: var(--primary-color);
  box-shadow: 0 0 15px rgba(211, 47, 47, 0.6);
  border-color: var(--primary-color);
}

/* 卡片样式 */
.card {
  background: rgba(26, 26, 26, 0.7);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: var(--shadow-medium);
  transition: all var(--transition-normal);
  color: var(--text-color);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), transparent);
}

.card:hover {
  box-shadow: var(--shadow-heavy);
  transform: translateY(-3px);
  border-color: var(--primary-color);
}

.card-header {
  background: rgba(40, 40, 40, 0.7);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px 16px 0 0;
  padding: 1rem 1.5rem;
}

.card-body {
  padding: 1.5rem;
}

/* 表单样式 */
.form-control {
  background: rgba(30, 30, 30, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text-color);
  transition: all var(--transition-normal);
  padding: 0.75rem;
}

.form-control:focus {
  background: rgba(40, 40, 40, 0.9);
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.25);
  outline: none;
}

.form-control::placeholder {
  color: var(--text-secondary);
}

.form-label {
  color: var(--text-color);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-text {
  color: var(--text-secondary);
}

/* 列表组样式 */
.list-group {
  border-radius: 8px;
  overflow: hidden;
}

.list-group-item {
  background: rgba(26, 26, 26, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-color);
  transition: all var(--transition-normal);
}

.list-group-item:hover {
  background: rgba(30, 30, 30, 0.8);
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateX(5px);
}

.list-group-item.active {
  background: rgba(211, 47, 47, 0.2);
  border-color: var(--primary-color);
  color: var(--primary-color);
  font-weight: bold;
  box-shadow: inset 0 0 10px rgba(211, 47, 47, 0.3);
}

/* 按钮样式 */
.btn {
  border-radius: 8px;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  transition: all var(--transition-normal);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(30, 30, 30, 0.85);
  backdrop-filter: blur(15px);
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary-color);
}

.btn:hover {
  background: rgba(40, 40, 40, 0.9);
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(211, 47, 47, 0.4);
}

.btn-success, .btn-danger, .btn-primary, .btn-warning {
  background: rgba(30, 30, 30, 0.9);
  color: var(--primary-color);
  border: 1px solid rgba(211, 47, 47, 0.3);
}

.btn-success:hover, .btn-danger:hover, .btn-primary:hover, .btn-warning:hover {
  background: rgba(40, 40, 40, 0.95);
  border-color: var(--primary-color);
  color: var(--primary-color);
  box-shadow: 0 0 15px rgba(211, 47, 47, 0.5);
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  z-index: -1;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-color);
  box-shadow: var(--shadow-light);
}

/* Select下拉框样式增强 */
select.form-select {
  background-color: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
}

/* 针对select下拉面板的样式 */
select.form-select:focus {
  background-color: rgba(255, 255, 255, 0.15) !important;
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 2px rgba(211, 47, 47, 0.5), 0 0 10px rgba(211, 47, 47, 0.3) !important;
  outline: none !important;
}

/* 自定义下拉面板样式 - 覆盖Bootstrap默认样式 */
/* 使用::after伪元素确保下拉箭头也是白色 */
select.form-select::after {
  color: #ffffff !important;
}

/* 针对下拉选项的样式 */
select.form-select option {
  background-color: rgba(30, 30, 30, 0.9) !important;
  color: #ffffff !important;
  backdrop-filter: blur(10px) !important;
}

/* 针对选中选项的样式 */
select.form-select option:checked {
  background-color: rgba(211, 47, 47, 0.3) !important;
  color: #ffffff !important;
}

/* 专门针对任务模板选择器的增强样式 */
.glass-input {
  background-color: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}

/* 下拉面板的背景样式 - 使用高优先级选择器 */
select.form-select + .dropdown-menu {
  background-color: rgba(30, 30, 30, 0.9) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}

/* 强制覆盖下拉面板样式 */
*[class*="dropdown"] {
  background-color: rgba(30, 30, 30, 0.9) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}

/* 增强的下拉菜单样式，确保Bootstrap组件样式被正确覆盖 */
.dropdown-menu {
  background-color: rgba(30, 30, 30, 0.9) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4) !important;
}

/* 下拉菜单项样式 */
.dropdown-item {
  background-color: transparent !important;
  color: #ffffff !important;
  transition: all var(--transition-normal);
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: rgba(211, 47, 47, 0.2) !important;
  color: #ffffff !important;
}

/* 针对React-Bootstrap的Form.Select组件下拉面板的特定样式 */
.form-select + .dropdown-menu,
.glass-input + .dropdown-menu {
  background-color: rgba(30, 30, 30, 0.9) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}

/* 使用:where伪类增加选择器优先级，确保样式被应用 */
:where(.form-select, .glass-input) + :where(.dropdown-menu) {
  background-color: rgba(30, 30, 30, 0.9) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}

/* 公告显示选项卡中select元素的下拉面板样式 */
#root .card-body select.form-select + .dropdown-menu {
  background-color: rgba(30, 30, 30, 0.9) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}

/* 任务模板选择器的特定样式 - 高优先级 */
.mission-select,
.mission-select:focus {
  background-color: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
}

/* 任务模板下拉面板样式增强 */
/* 为React-Bootstrap Form.Select组件生成的下拉菜单添加高优先级样式 */
.mission-template-select + .dropdown-menu {
  background-color: rgba(30, 30, 30, 0.9) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  z-index: 2000 !important;
}

/* 确保下拉菜单项样式 */
.mission-template-select + .dropdown-menu .dropdown-item {
  color: #ffffff !important;
  background-color: transparent !important;
}

.mission-template-select + .dropdown-menu .dropdown-item:hover {
  background-color: rgba(211, 47, 47, 0.2) !important;
}

/* 更全面的覆盖规则，确保下拉面板样式生效 */
.form-select + .dropdown-menu,
.form-control + .dropdown-menu,
.mission-select ~ .dropdown-menu,
.mission-select + .dropdown-menu,
.mission-select + * .dropdown-menu {
  background-color: rgba(30, 30, 30, 0.9) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4) !important;
}

/* 确保在各种状态下样式都能正确应用 */
.dropdown-menu.show,
#root .mission-select + .dropdown-menu {
  background-color: rgba(30, 30, 30, 0.9) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  z-index: 2000 !important;
}

/* 确保下拉菜单项在各种状态下的样式 */
.dropdown-menu .dropdown-item {
  color: #ffffff !important;
  background-color: transparent !important;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
  background-color: rgba(211, 47, 47, 0.2) !important;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.btn-success {
  background-color: var(--success-color);
  color: var(--text-color);
  box-shadow: var(--shadow-light);
}

.btn-success:hover {
  background-color: #43a047;
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.btn-danger {
  background-color: var(--error-color);
  color: var(--text-color);
  box-shadow: var(--shadow-light);
}

.btn-danger:hover {
  background-color: #d32f2f;
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.btn-warning {
  background-color: var(--warning-color);
  color: var(--bg-dark);
  box-shadow: var(--shadow-light);
}

.btn-warning:hover {
  background-color: #f57c00;
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-light);
}

.btn:disabled {
  opacity: 0.6;
  transform: none !important;
  cursor: not-allowed;
}

/* 列表组样式 */
.list-group {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  overflow: hidden;
}

.list-group-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  padding: 1rem 1.5rem;
  cursor: pointer;
}

.list-group-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.list-group-item.active {
  background-color: rgba(255, 0, 0, 0.4) !important;
  backdrop-filter: blur(15px) !important;
  border-color: rgba(255, 0, 0, 0.7) !important;
  color: #ffffff !important;
  box-shadow: inset 0 0 10px rgba(255, 0, 0, 0.5);
}

.list-group-item:last-child {
  border-bottom: none;
}

/* 标题样式 */
h1, h2, h3, h4, h5, h6 {
  background: linear-gradient(45deg, #00bcd4, #2196f3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* 警报样式 */
.alert {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #fff;
  backdrop-filter: blur(5px);
}

.alert-success {
  background: rgba(76, 175, 80, 0.2);
  border-color: rgba(76, 175, 80, 0.4);
}

.alert-danger {
  background: rgba(244, 67, 54, 0.2);
  border-color: rgba(244, 67, 54, 0.4);
}

.alert-info {
  background: rgba(33, 150, 243, 0.2);
  border-color: rgba(33, 150, 243, 0.4);
}

/* 动画效果 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 188, 212, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 188, 212, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 188, 212, 0);
  }
}

@keyframes slideIn {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes glow {
  0% {
    text-shadow: 0 0 5px rgba(0, 188, 212, 0.5);
  }
  50% {
    text-shadow: 0 0 20px rgba(0, 188, 212, 0.8), 0 0 30px rgba(0, 188, 212, 0.5);
  }
  100% {
    text-shadow: 0 0 5px rgba(0, 188, 212, 0.5);
  }
}

/* 应用动画 */
.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

.pulse {
  animation: pulse 2s infinite;
}

.slide-in {
  animation: slideIn 0.5s ease forwards;
}

.glow {
  animation: glow 2s infinite alternate;
}

/* 状态指示器 */
.status-indicator {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 8px;
  animation: pulse 2s infinite;
}

.status-indicator.running {
  background-color: #4caf50;
}

.status-indicator.stopped {
  background-color: #f44336;
}

.status-indicator.paused {
  background-color: #ff9800;
}

.status-indicator.unknown {
  background-color: #ff9800;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .main-content {
    padding: 10px;
    height: calc(100vh - 100px);
  }
  
  .card-body {
    padding: 1rem;
  }
  
  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .list-group-item {
    padding: 0.8rem 1rem;
  }
  
  .d-flex {
    flex-direction: column;
    gap: 10px !important;
  }
}

@media (max-width: 576px) {
  .main-content {
    flex-direction: column;
    height: auto;
    min-height: calc(100vh - 100px);
  }
  
  .col-md-3, .col-md-9 {
    width: 100%;
  }
  
  .col-md-3 {
    margin-bottom: 20px;
  }
  
  h1 {
    font-size: 1.8rem;
  }
}

/* 左侧导航栏样式 - 固定高度设置 */
.col-md-3.slide-in {
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
  transform: translateX(-100%);
  opacity: 1;
  height: calc(100vh - 200px); /* 设置固定高度，与服务器配置时一致 */
  min-height: 700px;
}

.col-md-3.slide-in.active {
  transform: translateX(0);
  opacity: 1;
}

/* 确保左侧两个卡片的高度总和等于容器高度 */
.col-md-3.slide-in .card {
  border-radius: 0.5rem !important;
}

.col-md-3.slide-in .card:first-child {
  margin-bottom: 1rem !important;
  flex-shrink: 0;
}

.col-md-3.slide-in .card:last-child {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  min-height: 0; /* 允许内容收缩 */
}

.col-md-3.slide-in .card:last-child .list-group {
  flex-grow: 1;
  overflow-y: auto;
}

/* 悬浮保存按钮样式增强 */
.save-button-float {
  transition: all 0.3s ease;
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: bold;
  animation: pulse-slow 3s infinite;
}

.save-button-float:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(211, 47, 47, 1), 0 6px 20px rgba(0, 0, 0, 0.4);
}

.save-button-float:active {
  transform: scale(0.95);
}

@keyframes pulse-slow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(211, 47, 47, 0.8), 0 4px 16px rgba(0, 0, 0, 0.3);
  }
  50% {
    box-shadow: 0 0 25px rgba(211, 47, 47, 1), 0 6px 20px rgba(0, 0, 0, 0.4);
  }
}

/* 按钮闪烁效果 */
.btn-blinking {
  animation: blink 1s infinite alternate;
}

@keyframes blink {
  0% {
    opacity: 1;
    box-shadow: 0 0 30px rgba(211, 47, 47, 1), 0 4px 16px rgba(0, 0, 0, 0.3);
  }
  100% {
    opacity: 0.8;
    box-shadow: 0 0 40px rgba(211, 47, 47, 1.5), 0 6px 24px rgba(0, 0, 0, 0.5);
  }
}